using System;
using System.Collections.Generic;
using UnityEngine;

public class PredefinedMessages : ScriptableObject
{
	[Serializable]
	public class MultiplayerMessage
	{
		public MultiplayerMessageType type;

		public string message;
	}

	protected static PredefinedMessages instance_;

	public List<MultiplayerMessage> messages = new List<MultiplayerMessage>();

	public static PredefinedMessages instance
	{
		get
		{
			if (instance_ == null)
			{
				instance_ = Resources.Load("PredefinedMessages", typeof(PredefinedMessages)) as PredefinedMessages;
			}
			return instance_;
		}
	}
}
